package com.cloud.service;

import com.cloud.dto.GarageDto;
import com.cloud.model.Garage;
import java.util.List;
import com.github.pagehelper.PageInfo;

/**
 * Created by util on 2018-4-27.
 */
public interface GarageService {

    boolean insertGarage(GarageDto garageDto);

    boolean deleteGarage(GarageDto garageDto);

    boolean updateGarage(GarageDto garageDto);
    
    Garage selectGarageById(GarageDto garageDto);

    List<Garage> selectGarageList(GarageDto garageDto);
    
    PageInfo selectGaragePage(GarageDto garageDto);
}